package DaEr2_2;

public class DZXMa {
    public static void main(String[] args) {
        for (int d = 0; d <= 34; d++) {
            for (int z = 0; z <= 50; z++) {
                for (int x = 0; x <= 100; x++) {
                    if ((d+z+x==100) && (3*d+2*z+2/x)==100&&(x%2==0)){

                        System.out.print("大马的数量 = " + d);
                        System.out.print("中马的数量= " + z);
                        System.out.print("小马的数量 = " + x);
                        System.out.println();
                    }
                }
            }

        }
    }
}
